var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { jsx as _jsx } from "react/jsx-runtime";
import classNames from "classnames";
import { LoadIndicator } from "devextreme-react";
import { PureComponent } from "react";
import DevBigWordLoading from "./DevBigWordLoading";
import DevMediumWordLoading from "./DevMediumWordLoading";
import DevWordLoading from "./DevWordLoading";
/**
 * ## 基于DevExpress DevLoadIndicator进行的二次封装组件
 * ~~~js
 * import DevLoading  from 'sright-ui'
 * ~~~
 * [DevLoading连接](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxLoadIndicator/?search=LoadIndicator)
 *
 * ### 介绍
 * 1. <DevLoading.Default/> :
 *   1.1、封装默认通用配置，提供Loading通用功能的基础组件。
 *   1.2、可通过 text={true}状态 让组件只显示文字 或 文字与图标都显示  默认为false
 *   1.3、可通过 title="内容" 输入自己想要的文字加载
 * 2. <DevLoading.Middle/> :
 *   2.1、中尺寸 icon 和 文字
 *   2.2、可通过 text={true}状态  让组件只显示文字 或 文字与图标都显示 默认为false
 *   2.3、可通过 title="内容" 输入自己想要的文字加载
 * 3. <DevLoading.Big/> :
 *   3.1、大尺寸 icon 和 文字
 *   3.2、可通过 text={true}状态  让组件只显示文字 或 文字与图标都显示 默认为false
 *   3.3、可通过 title="内容" 输入自己想要的文字加载
 */
export class DevLoading extends PureComponent {
    static defaultProps = {
        title: "",
        text: false,
    };
    static Big;
    static Middle;
    static Default;
}
// 默认 图标加载和带文字加载 小
let DevWordLoadings = class DevWordLoadings extends PureComponent {
    render() {
        const klass = classNames("cpas-Dev-Load", this.props.className);
        return _jsx(LoadIndicator, { ...this.props, className: klass });
    }
};
DevWordLoadings = __decorate([
    DevWordLoading
], DevWordLoadings);
export { DevWordLoadings };
// 默认 图标加载和带文字加载 中
let DevMediumWordLoadings = class DevMediumWordLoadings extends PureComponent {
    render() {
        const klass = classNames("cpas-Dev-Load", this.props.className);
        return _jsx(LoadIndicator, { ...this.props, className: klass });
    }
};
DevMediumWordLoadings = __decorate([
    DevMediumWordLoading
], DevMediumWordLoadings);
export { DevMediumWordLoadings };
// 默认 图标加载和带文字加载 大
let DevBigWordLoadings = class DevBigWordLoadings extends PureComponent {
    render() {
        const klass = classNames("cpas-Dev-Load", this.props.className);
        return _jsx(LoadIndicator, { ...this.props, className: klass });
    }
};
DevBigWordLoadings = __decorate([
    DevBigWordLoading
], DevBigWordLoadings);
export { DevBigWordLoadings };
export default DevLoading;
